package co.edu.usbcali.unidad.dataaccess.dao;

import co.edu.usbcali.unidad.modelo.Factura;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * Interface for FacturaDAO.
 * 
 * @author Zathura Code Generator http://code.google.com/p/zathura
 * 
 */
public interface IFacturaDAO {
	public void save(Factura instance);

	public void delete(Factura instance);

	public void update(Factura instance);

	public Factura findById(String id);

	public List<Factura> findByExample(Factura instance);

	public List<Factura> findByProperty(String propertyName, Object value);

	public List<Factura> findAll();

	public List<Factura> findByCriteria(String whereCondition);

	public List<Factura> findPageFactura(String sortColumnName,
			boolean sortAscending, int startRow, int maxResults);

	public Long findTotalNumberFactura();

	public List<Factura> findByFacCodigo(Object facCodigo);

	public List<Factura> findByFacFecha(Object facFecha);
}
